package edu.zju.gis.dldsj.dao;

import edu.zju.gis.dldsj.base.BaseMapper;
import edu.zju.gis.dldsj.entity.RoleModel;

import java.util.List;

public interface RoleModelMapper extends BaseMapper<RoleModel, String> {
    int deleteByPrimaryKey(String id);

    int insert(RoleModel record);

    int insertSelective(RoleModel record);

    RoleModel selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RoleModel record);

    int updateByPrimaryKey(RoleModel record);

    int updateStatus(String artifactId, String status);

    int deleteByRoleId(String roleId);

    int delete(String roleId, String modelId);

    RoleModel select(String roleId, String modelId);

    List<RoleModel> selectByRoleId(String roleId);
}